
using AutoMapper;
using Yozeev.BusinessLogic;
using Yozeev.BusinessLogic.Dtos;

namespace Yozeev.BusinessLogic.Mapper
{

	/// <summary>
    /// 配置PriceAudit的AutoMapper
    /// </summary>
	internal static class PriceAuditMapper
    {
        public static void CreateMappings(IMapperConfigurationExpression configuration)
        {
            configuration.CreateMap <PriceAudit,PriceAuditListDto>();
            configuration.CreateMap <PriceAuditListDto,PriceAudit>();

            configuration.CreateMap <PriceAuditEditDto,PriceAudit>();
            configuration.CreateMap <PriceAudit,PriceAuditEditDto>();

        }
	}
}
